<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<c:if test="${not empty customerDto.id}">
	
	<ul class="nav nav-tabs">
		<li <c:if test="${activeCustomerMenu eq 'PERSONNALDATA'}">class="active"</c:if> ><a href="<spring:url value="/customers/${customerDto.id}"/>"><spring:message code="customer.menu.personnaldata" /></a></li>
		<li <c:if test="${activeCustomerMenu eq 'COMMUNICATION'}">class="active"</c:if> ><a href="<spring:url value="/customers/${customerDto.id}/communication"/>"><spring:message code="customer.menu.communication" /></a></li>
		<li <c:if test="${activeCustomerMenu eq 'ADDRESS'}">class="active"</c:if>><a href="<spring:url value="/customers/${customerDto.id}/address"/>"><spring:message code="customer.menu.address" /></a></li>
		<li <c:if test="${activeCustomerMenu eq 'CONTACT'}">class="active"</c:if>><a href="<spring:url value="/customers/${customerDto.id}/address"/>"><spring:message code="customer.menu.contact" /></a></li>
	</ul>
	
</c:if>